import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router';
import { HomeComponent } from './home.component';

const routes: Routes = [
    {
        path: '',
        component: HomeComponent
    }
];

/**
 * Home module
 *
 * Author: Sorin Spiru, Andrei Istrate
 * Date: 13.01.2018
 */
@NgModule({
    providers: [ ],
    imports: [
        CommonModule,
        RouterModule.forChild(routes),
    ],
    declarations: [
        HomeComponent
    ],
    exports: [
        HomeComponent
    ]
})
export class HomeModule { }
